]> dgit.raspbian.org Git - gnome-shell.git/commit
dash: Replace custom actor with layout manager
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Jan 2021 16:34:19 +0000 (17:34 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 25 Jan 2021 22:53:34 +0000 (22:53 +0000)
commit9f1eb6da2bd08080f6da122439765209a35e480e
tree5d2f3d998878425f993a6029f00dcd808abd1ed4
parent2e9a2e68b7aa14a4147d0a18f1544e35d8c27b06
dash: Replace custom actor with layout manager

We use a custom actor to make sure that the show-apps button remains
visible even when there's not enough space to show all icons.

We can achieve the same result with much less code, by using a custom
BoxLayout layout manager for the icons to override the minimum width.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1592>
js/ui/dash.js